<?php
class Application_Model_invoicedetail extends Application_Model_DomainObject{
	
        protected $_id;//序号
        protected $_billNo;//运单id
        protected $_userid;//用户id 
        protected $_description;//物品名称
        protected $_num;//数量
        protected $_price;//价格
        protected $_hscode;//海关代号
        protected $_total;//总价
        protected $_pkgs; //物品箱数


        /*
         * 通过运单号查询发票信息
         */
        public static function bybillNo($billno)
        {
            $where[' billNo = '] = $billno;
            return Application_Model_invoicedetail::getDao()->queryAll($where);
        }
}
?>